require "find"

ARGV.each{|arg| p arg}
srcPath=ARGV[0];
dstFile = ARGV[1];
dst = File.new(dstFile, "w+")
Find.find(srcPath) do |file|
  if file =~ /.cpp$/ and not file =~ eval("/" + dstFile + "/")
      dst.puts("#include \"" + file + "\"") end
end
dst.puts("\n")
